﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="inc/top.ascx" TagName="top" TagPrefix="top" %>
<%@ Register Src="inc/bottom.ascx" TagName="bottom" TagPrefix="bottom" %>


<top:top ID="top" runat="server" />
<SCRIPT src="js/lanrentuku.js" type=text/javascript></SCRIPT>
<div id="banner">
  <DIV id=imgPlay>
<UL class=imgs id=actor>
    <asp:repeater id="switchImgData" runat="server" >
     <ItemTemplate>
  <LI><A href="<%#DataBinder.Eval(Container.DataItem,"tourl")%>" target=_blank><IMG src="<%#DataBinder.Eval(Container.DataItem,"img")%>" width="1001" title=<%#DataBinder.Eval(Container.DataItem,"title")%>></A></LI>
    </ItemTemplate> 
</asp:repeater>
</UL>


<DIV class=prev>上一张</DIV>
<DIV class=next>下一张</DIV></DIV>
</div>
<div class="main">
  <div class="main_left">
    <div class="title_works"><a href="listImg.aspx?channel=jcal"><img src="images/title_works.jpg" width="141" height="37" /></a></div>
    
    <asp:repeater id="zpData" runat="server" >
     <ItemTemplate>
		<div class="h_works_box">
      <div class="h_works_box_left"></div>
      <div class="h_works_box_middle">
        <div class="h_works_image"><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm"><img src="<%#DataBinder.Eval(Container.DataItem, "img")%>" width="189" height="124" /></a></div>
        <div class="h_works_text">
          <div class="h_works_title">
            <ul>
              <li>
                <h1><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm"><%#DataBinder.Eval(Container.DataItem, "title")%></a></h1>
              </li>
            </ul>
          </div>
          <div class="h_works_content"> <a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm"><%#StringUtil.SubString(StringUtil.StripHTML(DataBinder.Eval(Container.DataItem, "content").ToString()),200)%></a></div>
        </div>
      </div>
      <div class="h_works_box_right"></div>
    </div>
    </ItemTemplate> 
</asp:repeater>
    
  </div>
  <div class="main_middle">
    <div class="title_news">  
	
	<table border="0" cellspacing="0" cellpadding="0" id="secTable" style="margin-left:10px; margin-top:15px;">
                  <tr>
                    <td width="70" height="24" align="center" valign="middle" class="sec6" onmouseover="secBoard(0)"><a href="listDate.aspx?channel=bydt">博丰动态</a></td>
                    <td width="70" height="24" align="center" valign="middle" class="sec5" onmouseover="secBoard(1)"><a href="listDate.aspx?channel=hydt">行业动态</a></td>
          </tr>
                  <script language="JavaScript" type="text/javascript">
function  secBoard(n)
{
for(i=0;i<secTable.cells.length;i++)
secTable.cells[i].className="sec5";
secTable.cells[n].className="sec6";
for(i=0;i<mainTable.tBodies.length;i++)
mainTable.tBodies[i].style.display="none";
mainTable.tBodies[n].style.display="block";
}
                </script>
        </table>
	</div>
    <div class="h_news_box">
      <div class="h_news_box_left"></div>
      <div class="h_news_box_middle">
	  
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="center"><table width="236" border="0" cellpadding="0" cellspacing="0" id="mainTable">
                        <tbody style="DISPLAY: block">
                          <tr>
                            <td height="273" align="center" valign="top"><div >
    <asp:repeater id="bydtImgData" runat="server" >
     <ItemTemplate>
                              <div class="h_news_image"><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm" title='<%#DataBinder.Eval(Container.DataItem, "title")%>'><img src="<%#DataBinder.Eval(Container.DataItem, "img")%>" width="227" height="125" /></a></div>
                              <div class="h_news_title">
                                <ul>
                                  <li>
                                    <h1><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm" title='<%#DataBinder.Eval(Container.DataItem, "title")%>'><%#StringUtil.SubString(DataBinder.Eval(Container.DataItem, "title").ToString(),50)%></a></h1>
                                  </li>
                                </ul>
                              </div>
    </ItemTemplate> 
</asp:repeater>
<table>
    <asp:repeater id="bydtData" runat="server" >
     <ItemTemplate>
  <tr >
    <td width="16" align="center" class="lbx"><img src="images/01.jpg" width="4" height="4"></td>
    <td width="204" align="left" class="lbx"><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm" title='<%#DataBinder.Eval(Container.DataItem, "title")%>'><%#StringUtil.SubString(DataBinder.Eval(Container.DataItem, "title").ToString(),26)%></a></td>
  </tr>
    </ItemTemplate> 
</asp:repeater>
</table>

							  
							  </div>
                            </div></td>
                          </tr>
                        </tbody>
                        <tbody style="DISPLAY: none">
                          <tr>
                            <td height="273" align="center" valign="top"><div >
                              
    <asp:repeater id="hydtImgData" runat="server" >
     <ItemTemplate>
                              <div class="h_news_image"><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm"><img src="<%#DataBinder.Eval(Container.DataItem, "img")%>" width="227" height="125" /></a></div>
                              <div class="h_news_title">
                                <ul>
                                  <li>
                                    <h1><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm" title='<%#DataBinder.Eval(Container.DataItem, "title")%>'><%#StringUtil.SubString(DataBinder.Eval(Container.DataItem, "title").ToString(),50)%></a></h1>
                                  </li>
                                </ul>
                              </div>
    </ItemTemplate> 
</asp:repeater>
<table>
    <asp:repeater id="hydtData" runat="server" >
     <ItemTemplate>
  <tr >
    <td width="16" align="center" class="lbx"><img src="images/01.jpg" width="4" height="4"></td>
    <td width="204" align="left" class="lbx"><a href="info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm" title='<%#DataBinder.Eval(Container.DataItem, "title")%>'><%#StringUtil.SubString(DataBinder.Eval(Container.DataItem, "title").ToString(),26)%></a></td>
  </tr>
    </ItemTemplate> 
</asp:repeater>
</table>
                              </div>
                            </div></td>
                          </tr>
                        </tbody>
                        
                    </table></td>
                  </tr>
              </table>
	  </div>
      <div class="h_news_box_right"></div>
    </div>
  </div>
  <div class="main_right">
    <div class="title_blog"><span class="title_works"><a href="news.aspx?channel=gd"><img src="images/title_blog.jpg" width="92" height="37" /></a></span></div>
    <div class="h_service_box">
      <div class="h_service_box_left"></div>
      <div class="h_service_box_middle">
        <ul>
    <asp:repeater id="gdData" runat="server" >
     <ItemTemplate>
         <li><a href='info/<%#DataBinder.Eval(Container.DataItem, "newId")%>.htm' title='<%#DataBinder.Eval(Container.DataItem, "title")%>'><%#StringUtil.SubString(DataBinder.Eval(Container.DataItem, "title").ToString(),50)%></a></li>
    </ItemTemplate> 
</asp:repeater>
         
                </ul>
      </div>
      <div class="h_service_box_right"></div>
    </div>
    <div class="download" title="点击在线咨询" style="cursor:hand" onclick="window.open('tencent://message/?uin=565321924&Site=博丰软件&Menu=yes')"></div>
  </div>
  <nobr>
  <!--
  <div style="width:1001px;float:left;overflow:hidden;">
  <div id="banner_logo">
    <asp:repeater id="marqueeImgData" runat="server" >
     <ItemTemplate>
  <img src="<%#DataBinder.Eval(Container.DataItem, "img")%>" width="98" height="50" border="0" hspace="1">
    </ItemTemplate> 
</asp:repeater>
  </div>
  </div>-->
  </nobr>
  <!--nobr这个标签很重要，没有他firefox里无法正常显示-->
</div>
<bottom:bottom ID="bottom" runat="server" /></div>
<script>/*
window.onload=function(){
 new Marquee("banner_logo",2,20,1000,50,20,1,1000,1);
  };
function Marquee(){
  this.ID=document.getElementById(arguments[0]);
  this.Direction=arguments[1];
  this.Step=arguments[2];
  this.Width=arguments[3];
  this.Height=arguments[4];
  this.Timer=arguments[5];
  this.WaitTime=arguments[6];
  this.StopTime=arguments[7];
  if(arguments[8]){this.ScrollStep=arguments[8];}else{this.ScrollStep=this.Direction>1?this.Width:this.Height;}
  this.CTL=this.StartID=this.Stop=this.MouseOver=0;
  this.ID.style.overflowX=this.ID.style.overflowY="hidden";
  this.ID.noWrap=true;
  this.ID.style.width=this.Width;
  this.ID.style.height=this.Height;
  this.ClientScroll=this.Direction>1?this.ID.scrollWidth:this.ID.scrollHeight;
  this.ID.innerHTML+=this.ID.innerHTML;
  this.Start(this,this.Timer,this.WaitTime,this.StopTime);
  }
Marquee.prototype.Start=function(msobj,timer,waittime,stoptime){
  msobj.StartID=function(){msobj.Scroll();}
  msobj.Continue=function(){
    if(msobj.MouseOver==1){setTimeout(msobj.Continue,waittime);}
    else{clearInterval(msobj.TimerID); msobj.CTL=msobj.Stop=0; msobj.TimerID=setInterval(msobj.StartID,timer);}
    }
  msobj.Pause=function(){msobj.Stop=1; clearInterval(msobj.TimerID); setTimeout(msobj.Continue,waittime);}
  msobj.Begin=function(){
    msobj.TimerID=setInterval(msobj.StartID,timer);
    msobj.ID.onmouseover=function(){}
    msobj.ID.onmouseout=function(){}
    }
  setTimeout(msobj.Begin,stoptime);
  }
Marquee.prototype.Scroll=function(){
  switch(this.Direction){
    case 0:
      this.CTL+=this.Step;
      if(this.CTL>=this.ScrollStep&&this.WaitTime>0){this.ID.scrollTop+=this.ScrollStep+this.Step-this.CTL; this.Pause(); return;}
      else{if(this.ID.scrollTop>=this.ClientScroll) this.ID.scrollTop-=this.ClientScroll; this.ID.scrollTop+=this.Step;}
      break;
    case 1:
      this.CTL+=this.Step;
      if(this.CTL>=this.ScrollStep&&this.WaitTime>0){this.ID.scrollTop-=this.ScrollStep+this.Step-this.CTL; this.Pause(); return;}
      else{if(this.ID.scrollTop<=0) this.ID.scrollTop+=this.ClientScroll; this.ID.scrollTop-=this.Step;}
      break;
    case 2:
      this.CTL+=this.Step;
      if(this.CTL>=this.ScrollStep&&this.WaitTime>0){this.ID.scrollLeft+=this.ScrollStep+this.Step-this.CTL; this.Pause(); return;}
      else{if(this.ID.scrollLeft>=this.ClientScroll) this.ID.scrollLeft-=this.ClientScroll; this.ID.scrollLeft+=this.Step;}
      break;
    case 3:
      this.CTL+=this.Step;
      if(this.CTL>=this.ScrollStep&&this.WaitTime>0){this.ID.scrollLeft-=this.ScrollStep+this.Step-this.CTL; this.Pause(); return;}
      else{if(this.ID.scrollLeft<=0) this.ID.scrollLeft+=this.ClientScroll; this.ID.scrollLeft-=this.Step;}
      break;
    }
  }*/
</script>
</body></html>